package com.example.demo.us3.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.demo.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author agen
 * @since 2020-04-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Userthree extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
//    @TableId(value = "id", type = IdType.NONE)
//    @TableId(value = "id", type = IdType.AUTO)
//    @TableId(value = "id", type = IdType.ID_WORKER)
//    @TableId(value = "id", type = IdType.UUID)
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 邮箱
     */
    private String email;


}
